package com.nl.controller.web.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

import com.nl.controller.web.service.SmsInterfaceService;

import lombok.extern.slf4j.Slf4j;

@RestController
@Slf4j
public class SmsInterfaceController {
	
	@Autowired
	private SmsInterfaceService smsInterfaceService;
	//第一次延迟30秒后执行，之后按fixedRate的规则每300秒执行一次。
    //@Scheduled(initialDelay = 40000, fixedRate = 20000)
	public void XZInterface(){
    	log.info("徐州态势感知接口开始");
		smsInterfaceService.xzTransferMsisdn();
	}
}
